package com.wisdytech.linkdcs.tool.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhanghailin
 * @since 2018-06-12
 */
@TableName("TT_EQ_TOOL_MAINTAIN_RECORD")
public class ToolMaintainRecord extends Model<ToolMaintainRecord> {

    private static final long serialVersionUID = 1L;

    @TableId("PK_ID")
    private String pkId;
    @TableField("TOOL_CODE")
    private String toolCode;
    @TableField(exist = false)
    private String toolName;
    @TableField("MAINTAIN_USER")
    private String maintainUser;
    @TableField("MAINTAIN_USER_WORK_NO")
    private String maintainUserWorkNo;
    @TableField("MAINTAIN_DATE")
    private Date maintainDate;
    @TableField("CONFIRM_USER")
    private String confirmUser;
    @TableField("CONFIRM_DATE")
    private Date confirmDate;
    @TableField("MAINTAIN_RESULT")
    private String maintainResult;
    @TableField("DEL_FLAG")
    private String delFlag;
    @TableField("CREATE_USER")
    private String createUser;
    @TableField("CREATE_DATE")
    private Date createDate;
    @TableField("UPDATE_USER")
    private String updateUser;
    @TableField("UPDATE_DATE")
    private Date updateDate;
    @TableField("REMARK")
    private String remark;


    public String getPkId() {
        return pkId;
    }

    public void setPkId(String pkId) {
        this.pkId = pkId;
    }

    public String getToolCode() {
        return toolCode;
    }

    public void setToolCode(String toolCode) {
        this.toolCode = toolCode;
    }

    public String getMaintainUser() {
        return maintainUser;
    }

    public void setMaintainUser(String maintainUser) {
        this.maintainUser = maintainUser;
    }

    public Date getMaintainDate() {
        return maintainDate;
    }

    public void setMaintainDate(Date maintainDate) {
        this.maintainDate = maintainDate;
    }

    public String getConfirmUser() {
        return confirmUser;
    }

    public void setConfirmUser(String confirmUser) {
        this.confirmUser = confirmUser;
    }

    public Date getConfirmDate() {
        return confirmDate;
    }

    public void setConfirmDate(Date confirmDate) {
        this.confirmDate = confirmDate;
    }

    public String getMaintainResult() {
        return maintainResult;
    }

    public void setMaintainResult(String maintainResult) {
        this.maintainResult = maintainResult;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getToolName() {
        return toolName;
    }

    public void setToolName(String toolName) {
        this.toolName = toolName;
    }

    public String getMaintainUserWorkNo() {
        return maintainUserWorkNo;
    }

    public void setMaintainUserWorkNo(String maintainUserWorkNo) {
        this.maintainUserWorkNo = maintainUserWorkNo;
    }

    @Override
    protected Serializable pkVal() {
        return this.pkId;
    }

    @Override
    public String toString() {
        return "ToolMaintainRecord{" +
        ", pkId=" + pkId +
        ", toolCode=" + toolCode +
        ", maintainUser=" + maintainUser +
        ", maintainDate=" + maintainDate +
        ", confirmUser=" + confirmUser +
        ", confirmDate=" + confirmDate +
        ", maintainResult=" + maintainResult +
        ", delFlag=" + delFlag +
        ", createUser=" + createUser +
        ", createDate=" + createDate +
        ", updateUser=" + updateUser +
        ", updateDate=" + updateDate +
        ", remark=" + remark +
        "}";
    }
}
